#ifndef _PM_PLUGIN_ACCESSOR_HPP_
#define _PM_PLUGIN_ACCESSOR_HPP_

#include "project_manager/sources/pm_plugin.hpp"

/*---------------------------------------------------------------------------*/

namespace ProjectManager {

/*---------------------------------------------------------------------------*/

struct PluginAccessor
{
/*---------------------------------------------------------------------------*/

public:

/*---------------------------------------------------------------------------*/

	PluginAccessor()
		:	m_plugin( Plugin::getInstance() )
	{
	}

	Engine& getEngine()
	{
		return m_plugin.getEngine();
	}

/*---------------------------------------------------------------------------*/

private:

/*---------------------------------------------------------------------------*/

	Plugin& m_plugin;

/*---------------------------------------------------------------------------*/

};

/*---------------------------------------------------------------------------*/

} // namespace ProjectManager

/*---------------------------------------------------------------------------*/

#endif // _PM_PLUGIN_ACCESSOR_HPP_
